-
Home
-
Woocommerce Polylang Integration
-
1.2.2
-
Code
-
Classes
- PLL_Hooks
Total Complexity |
81 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
461 |
Lines of code |
244 |
Logical lines of code |
161 |
Comment lines |
145 |
Methods |
17 |
Properties |
0 |
Methods 17
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
set_language_from_query_on_front_page() |
A |
48 |
12 |
30 |
translate_post_meta() |
A |
52 |
9 |
22 |
is_preview() |
S |
69 |
9 |
5 |
modify_rewrite_rule() |
S |
60 |
7 |
12 |
translation_url_plain_permalinks() |
S |
55 |
6 |
18 |
copy_post_metas() |
S |
52 |
5 |
24 |
__construct() |
S |
52 |
5 |
21 |
home_url_white_list() |
S |
55 |
5 |
19 |
language_defined() |
S |
59 |
4 |
14 |
set_language_from_query() |
S |
60 |
4 |
12 |
set_language_from_query_on_myaccount_and_checkout_pages() |
S |
56 |
3 |
18 |
get_taxonomies() |
S |
62 |
3 |
12 |
home_url() |
S |
64 |
3 |
9 |
get_post_types() |
S |
65 |
2 |
9 |
check_canonical_url() |
S |
79 |
2 |
3 |
copy_taxonomies() |
S |
64 |
1 |
11 |
translate_labels() |
S |
74 |
1 |
5 |